<div style="padding: 5px;">
        <form class="layui-form" action="<?=url('userxiangmu/edit');?>">
            <input type="hidden" name="id" value="<?=$info['id']?>" />
            <div class="layui-form-item">
              <label class="layui-form-label">用户名</label>
              <div class="layui-input-block">
                <input type="text" value="<?=$info['username']?>" disabled placeholder="请输入用户名" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">项目名称</label>
              <div class="layui-input-block">
                <input type="text" value="<?=$info['title']?>" disabled placeholder="请输入项目名称" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">到期时间</label>
              <div class="layui-input-block">
                <input type="text" name="end_time" id="date" value="<?=date('Y-m-d',$info['end_time'])?>" lay-verify="date" placeholder="请选择到期时间" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                  <input type="radio" name="status" value="0" title="正常" <?php if($info['status'] == 0):?>checked<?php endif;?>>
                  <input type="radio" name="status" value="1" title="冻结" <?php if($info['status'] == 1):?>checked<?php endif;?>>
                </div>
            </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
</div>
<script>
layui.use(['form','laydate'], function(){
  var $ = layui.$, form = layui.form, laydate = layui.laydate;
  form.render();
  laydate.render({
    elem: '#date'
  });
});
</script>
